﻿
function onNr(num) {
    for (var i = 1; i <= 3; i++) {
        var el = document.getElementById("nr" + i);
        var eSon = document.getElementById("nrs" + i);
        if (i == num) {
            el.className = "cur";
            eSon.className = "list";
        } else {
            el.className = "";
            eSon.className = "list none";
        }
    }
}

function SearchAn() {
    var sNo = GetSelectValue("seachAnHao");
    var sName = GetSelectValue("seachAnName");
    var sHao = document.getElementById("seachZiHao").value;
    var sUser = document.getElementById("seachUser").value;
    var ah = "(" + sNo + ")年" + sName + "字第" + sHao + "号";
    window.location.href = "/judicial/result.aspx?ah=" + encodeURIComponent(ah) + "&user=" + encodeURIComponent(sUser);
}

